<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%-- 设置meta
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/meta.jsp"%>
	<title>三方28数据管理</title>
	
<%-- 导入样式
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/link.jsp"%>
	<link rel="stylesheet" href="${res }/default/css/content.css" /> 
	
<%-- 导入脚本
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<%@ include file="/WEB-INF/template/include/script.jsp"%>

<%-- 页眉
////////////////////////////////////////////////////////////////////////////////////////////// --%>
<c:set var="mode" value="original" />
<%@ include file="/WEB-INF/template/include/header.jsp"%>
	<div style="width:400px;margin:auto;padding:0px;">
		<p class="text-center xl-copyright">Whisper Studio Make Life Better.</p>
		<div class=" well" >
			<h2 class="xl-module-title">平衡次数</h2>
			<pre>公式 179 - x = x * 3 得 x = 45</pre>
			
			<h2 class="xl-module-title">4余0</h2>
			<c:set var="n0" value="${stcR4n.n0*3 - stcR4n.n1 - stcR4n.n2 - stcR4n.n3 }" />
			<pre style='background:${n0>=0?"#F5EDD3":"#E8FCE8"};color:${n0>=0?"red":"green"};'>${stcR4n.n0} * 3 - ${stcR4n.n1} - ${stcR4n.n2} - ${stcR4n.n3 } = ${n0 }</pre>
			
			<h2 class="xl-module-title">4余1</h2>
			<c:set var="n1" value="${stcR4n.n1*3 - stcR4n.n0 - stcR4n.n2 - stcR4n.n3 }" />
			<pre style='background:${n1>=0?"#F5EDD3":"#E8FCE8"};color:${n1>=0?"red":"green"};'>${stcR4n.n1} * 3 - ${stcR4n.n0} - ${stcR4n.n2} - ${stcR4n.n3 } = ${n1 }</pre>
			
			<h2 class="xl-module-title">4余2</h2>
			<c:set var="n2" value="${stcR4n.n2*3 - stcR4n.n0 - stcR4n.n1 - stcR4n.n3 }" />
			<pre style='background:${n2>=0?"#F5EDD3":"#E8FCE8"};color:${n2>=0?"red":"green"};'>${stcR4n.n2} * 3 - ${stcR4n.n0} - ${stcR4n.n1} - ${stcR4n.n3 } = ${n2 }</pre>
			
			<h2 class="xl-module-title">4余3</h2>
			<c:set var="n3" value="${stcR4n.n3*3 - stcR4n.n0 - stcR4n.n1 - stcR4n.n2 }" />
			<pre style='background:${n3>=0?"#F5EDD3":"#E8FCE8"};color:${n3>=0?"red":"green"};'>${stcR4n.n3} * 3 - ${stcR4n.n0} - ${stcR4n.n1} - ${stcR4n.n2 } = ${n3 }</pre>
		</div>
		<p class="text-center xl-copyright">2014 &copy; Whisper Development Team.</p>
	</div>
<c:set var="mode" value="original" />
<%@ include file="/WEB-INF/template/include/footer.jsp"%>
